package com.shop.shoporder.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

public class GroupbuyInfo implements Serializable {

    private int groupbuyId;

    private int groupbuygoodId;

    private int userNoId;
    private String userNo;
    private String userNick;
    private String headPic;//头像
    private String initiateState;

    private String groupbuyState;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp initiateStarttime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp groupbuyEndtime;

    private int sort;

    private  int buycount;

    private double groupbuyPrice;

    List<Participater> participaters;


    public int getBuycount() {
        return buycount;
    }

    public void setBuycount(int buycount) {
        this.buycount = buycount;
    }

    public double getGroupbuyPrice() {
        return groupbuyPrice;
    }

    public void setGroupbuyPrice(double groupbuyPrice) {
        this.groupbuyPrice = groupbuyPrice;
    }

    public String getHeadPic() {
        return headPic;
    }

    public void setHeadPic(String headPic) {
        this.headPic = headPic;
    }

    public Timestamp getInitiateStarttime() {
        return initiateStarttime;
    }

    public void setInitiateStarttime(Timestamp initiateStarttime) {
        this.initiateStarttime = initiateStarttime;
    }

    public Timestamp getGroupbuyEndtime() {
        return groupbuyEndtime;
    }

    public void setGroupbuyEndtime(Timestamp groupbuyEndtime) {
        this.groupbuyEndtime = groupbuyEndtime;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getUserNick() {
        return userNick;
    }

    public void setUserNick(String userNick) {
        this.userNick = userNick;
    }

    public int getGroupbuyId() {
        return groupbuyId;
    }

    public void setGroupbuyId(int groupbuyId) {
        this.groupbuyId = groupbuyId;
    }

    public int getGroupbuygoodId() {
        return groupbuygoodId;
    }

    public void setGroupbuygoodId(int groupbuygoodId) {
        this.groupbuygoodId = groupbuygoodId;
    }

    public int getUserNoId() {
        return userNoId;
    }

    public void setUserNoId(int userNoId) {
        this.userNoId = userNoId;
    }

    public String getInitiateState() {
        return initiateState;
    }

    public void setInitiateState(String initiateState) {
        this.initiateState = initiateState;
    }

    public String getGroupbuyState() {
        return groupbuyState;
    }

    public void setGroupbuyState(String groupbuyState) {
        this.groupbuyState = groupbuyState;
    }

    public List<Participater> getParticipaters() {
        return participaters;
    }

    public void setParticipaters(List<Participater> participaters) {
        this.participaters = participaters;
    }
}
